#include <QCoreApplication>
#include <iostream>
#include <cmath>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double x;
    cout<<"Vvedite x"<<endl;
    cin>>x;
    cout<<3*pow(x,6)-6*pow(x,6)-7;
    return a.exec();
}
